package com.sicilin.common.json.easyui.vo;

import com.sicilin.common.tree.TreeAbstract;

import java.util.List;

public class TreegridResponse<T extends TreeAbstract> {
    private int total;
    private List<T> rows;

    public TreegridResponse(){}

    public TreegridResponse(int total,List<T> rows){
        this.total = total;
        this.rows = rows;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<T> getRows() {
        return rows;
    }

    public void setRows(List<T> rows) {
        this.rows = rows;
    }
}
